package com.example.hotel.dao;


import com.example.hotel.entity.Roomtype;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RoomtypeDao {

    //增加菜品
    int insert(Roomtype roomtype);
    int deleteById(int roomId);
    int update(@Param("roomtypeId") int roomtypeId,@Param("roomtypeName")String roomtypeName,@Param("capacity")String capacity, @Param("description")String description);
    List<Roomtype> findAll();

}